<?
// *************************************
// * user.php allows the admin to
// * View and Delete admin users.
// *************************************
$sajax = 1;
$richtext = 1;
$toolbox  = 1;
define('SITE_AREA', 'maint');

$jsFile = "jsMaint.js";
include("includes/functions.php");
include($pre."includes/sajax/sajaxMaint.php");

sajax_init();
$sajax_request_type = "POST"; 
sajax_export("getEU");
sajax_export("saveEU");
sajax_export("getFiles");
sajax_export("deleteFile");
sajax_handle_client_request();

include("includes/header.php"); ?>
	<script language="javascript" type="text/javascript" src="<?=$pre; ?>js/tinyeditor/config/mceConfig.js"></script>
	<div id="addEditFormDiv" style="display: none;"></div>	
	
	<div id="content0">
		<div id="formEU" class="blueBox">
			<p><label class="vertLabel">Update Date</label>
				<div style="margin-left: 3px;"><input type="text" id="euDate" /></div>
			</p>
			
			<p><label class="vertLabel">Content</label>
			<textarea name="euContent" id="euContent" class="editorAlmostSimple" style="width: 600px; height: 200px;"></textarea>
			</p>
			
			<p><input type="checkbox" id="euActive" value="" /> <b>Show this update on the website.</b></p>
			<div style="float: left; margin-top: 15px; margin-left: 6px;">
				<input type="button" class="buttonBig buttonSaveBig" onClick="eventUpdatesObj.saveEU();" value="Update" title="Update" />
			</div>
			<div style="margin-top: 20px; margin-left: 10px; float: left;" id="formStatus"></div>
			<div style="clear: left;"></div>
		</div>				
	</div>
	
	<div id="content1">
		<h1>Uploaded Assessment Files</h1>
		<div id="fileContainer"></div>
	</div>
	
	<div id="content2">
	Coming soon!
	</div>
		
	<div id="south" class="x-layout-inactive-content">
	south - generally for informational stuff, also could be for status bar
	</div>
<? include("includes/footer.php"); ?>